<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">

    <title>问题详情-<?php echo $info['question']; ?></title>
    <script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <link rel="stylesheet" href="https://jzcloud.jiruan.ltd/web_view/css/style.css">
</head>
<body>

<div class="quanlist">

    <a class="quan">
        <div class="quest1   ">
            <span class="quest">Q</span>
            <span class="ov1"><?php echo $info['question']; ?></span>
        </div>
        <div class="quest2   ">
            <span class="ansewe">A</span>
            <span class="ov1"><?php echo $info['answer']; ?></span>
        </div>
    </a>

</div>
<script>
    $('.questname').click(function () {
        $(this).toggleClass('on')
        $(this).next('.questioncon').slideToggle()
    })
</script>
</body>
</html>